﻿<include file="Public/header" />
<div class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
					<li  id="dingdan">
						<a href="__APP__/Index/orderlist">订单</a>
					</li>
					<li class="dropdown active" id="shangpin">
						<a href="javascript:void(0)" class="dropdown-toggle " data-toggle="dropdown">
							商品
							<b class="caret"></b>
						</a>
						<ul class="dropdown-menu active">
							<li>
								<a href="__APP__/Admin/nav">商品分类</a>
							</li>
							<li>
								<a href="__APP__/Admin/product">商品管理</a>
							</li>
						</ul>
					</li>
					<li class="dropdown" id="weixinset">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
							微信设置
							<b class="caret"></b>
						</a>
						<ul class="dropdown-menu">
							<li>
								<a href="__APP__/Weixin/index" id="weixinset">微信初始化</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li>
						<a href="javascript:void(0)">{$username}</a>
					</li>
					<li>
						<a href="__APP__/Index/quit">退出</a>
					</li>
				</ul>
			</div>
			<!--/.nav-collapse -->
		</div>
	</div>
	
	<div class="container">
	<form class="form-horizontal" role="form" method="post"
		action="__APP__/Admin/renav">
		<volist name="nav" id="navid">
		<div class="form-group">
			<label for="title" class="col-sm-2 control-label">分类 ID={$navid.id}</label>
			<div class="col-sm-5">
				<input type="text" class="form-control"
					value="{$navid.value}" name="nav{$navid.id}">
			</div>
			<!-- <a href="__APP__/Admin/delnav">删除分类</a> -->
		</div>
		</volist>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" name="renav" value="renav"
					class="btn btn-primary">设置</button>
				<a href="__APP__/Admin/addnav" class="btn btn-primary">增加分类</a>
			</div>
		</div>
	</form>
	<hr/>
</div>
<include file="Public/footer" />